
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Formatting keys and toolbars</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp255.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp257.htm" >Next</A>
<!-- End Header -->
<A NAME="CCJCCFIC"></A><h1>Formatting keys and toolbars</h1>
<A NAME="TI8952"></A><p>When the toolbar is visible, you can use its buttons to format
text. The changes you make in preview are temporary.</p>
<A NAME="TI8953"></A><p>The keystrokes listed in the following tables also assign
formatting to selected text. </p>
<p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>Keyboard shortcuts do not work in the painter</span> <A NAME="TI8954"></A>These keystrokes work only when you are running the DataWindow object or the
window containing the RichTextEdit control. In PowerBuilder, only keyboard
shortcuts defined for menu items in the painter can be used.</p>
<A NAME="TI8955"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 30-2: Keyboard shortcuts for RichText DataWindow objects</caption>
<tr><th  rowspan="1"  ><A NAME="TI8956"></A>Category</th>
<th  rowspan="1"  ><A NAME="TI8957"></A>Action</th>
<th  rowspan="1"  ><A NAME="TI8958"></A>Key</th>
</tr>
<tr><td  rowspan="4"  ><A NAME="TI8959"></A>Using the clipboard<A NAME="TI8960"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI8961"></A>Cut</td>
<td  rowspan="1"  ><A NAME="TI8962"></A>Ctrl+X</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8963"></A>Paste</td>
<td  rowspan="1"  ><A NAME="TI8964"></A>Ctrl+V, Shift+Insert</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8965"></A>Copy</td>
<td  rowspan="1"  ><A NAME="TI8966"></A>Ctrl+C</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8967"></A>Undo</td>
<td  rowspan="1"  ><A NAME="TI8968"></A>Ctrl+Z</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="7"  ><A NAME="TI8969"></A>Assigning font attributes<A NAME="TI8970"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI8971"></A>Bold</td>
<td  rowspan="1"  ><A NAME="TI8972"></A>Ctrl+B</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8973"></A>Italic</td>
<td  rowspan="1"  ><A NAME="TI8974"></A>Ctrl+I</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8975"></A>Underline</td>
<td  rowspan="1"  ><A NAME="TI8976"></A>Ctrl+U</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8977"></A>Subscript</td>
<td  rowspan="1"  ><A NAME="TI8978"></A>Ctrl+=</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8979"></A>Superscript</td>
<td  rowspan="1"  ><A NAME="TI8980"></A>Ctrl+Shift+=</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8981"></A>Strikeout</td>
<td  rowspan="1"  ><A NAME="TI8982"></A>Ctrl+U</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8983"></A>Change font</td>
<td  rowspan="1"  ><A NAME="TI8984"></A>Ctrl+Shift+U</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="3"  ><A NAME="TI8985"></A>Setting line spacing<A NAME="TI8986"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI8987"></A>Single space</td>
<td  rowspan="1"  ><A NAME="TI8988"></A>Ctrl+1</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8989"></A>Double space</td>
<td  rowspan="1"  ><A NAME="TI8990"></A>Ctrl+2</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8991"></A>One and a half space</td>
<td  rowspan="1"  ><A NAME="TI8992"></A>Ctrl+5</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="5"  ><A NAME="TI8993"></A>Aligning text<A NAME="TI8994"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI8995"></A>Justify</td>
<td  rowspan="1"  ><A NAME="TI8996"></A>Ctrl+J</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8997"></A>Center</td>
<td  rowspan="1"  ><A NAME="TI8998"></A>Ctrl+E</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI8999"></A>Left</td>
<td  rowspan="1"  ><A NAME="TI9000"></A>Ctrl+L</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9001"></A>Right</td>
<td  rowspan="1"  ><A NAME="TI9002"></A>Ctrl+R</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9003"></A>Set paragraph formatting</td>
<td  rowspan="1"  ><A NAME="TI9004"></A>Ctrl+Shift+S </td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="4"  ><A NAME="TI9005"></A>Editing<A NAME="TI9006"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI9007"></A>Insert a new paragraph</td>
<td  rowspan="1"  ><A NAME="TI9008"></A>Enter</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9009"></A>Insert an empty line</td>
<td  rowspan="1"  ><A NAME="TI9010"></A>Ctrl+N</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9011"></A>Delete character to right of insertion
point</td>
<td  rowspan="1"  ><A NAME="TI9012"></A>Delete</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9013"></A>Delete character to left of insertion
point</td>
<td  rowspan="1"  ><A NAME="TI9014"></A>Backspace</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="6"  ><A NAME="TI9015"></A>Input fields<A NAME="TI9016"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI9017"></A>Select the input field at the insertion
point</td>
<td  rowspan="1"  ><A NAME="TI9018"></A>Enter</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9019"></A>Activate the input field at the insertion
point</td>
<td  rowspan="1"  ><A NAME="TI9020"></A>Space</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9021"></A>When input field is active, accept data
and exit field</td>
<td  rowspan="1"  ><A NAME="TI9022"></A>Enter</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9023"></A>When input field is active, exit field
without changing data</td>
<td  rowspan="1"  ><A NAME="TI9024"></A>Esc</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9025"></A>Move to next input field</td>
<td  rowspan="1"  ><A NAME="TI9026"></A>Ctrl+Tab</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9027"></A>Move to previous input field</td>
<td  rowspan="1"  ><A NAME="TI9028"></A>Shift+Ctrl+Tab</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="5"  ><A NAME="TI9029"></A>Miscellaneous<A NAME="TI9030"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI9031"></A>Select All</td>
<td  rowspan="1"  ><A NAME="TI9032"></A>Ctrl+A</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9033"></A>Print</td>
<td  rowspan="1"  ><A NAME="TI9034"></A>Ctrl+P</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9035"></A>Undo</td>
<td  rowspan="1"  ><A NAME="TI9036"></A>Ctrl+Z</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9037"></A>Toggle display of nonprinting characters</td>
<td  rowspan="1"  ><A NAME="TI9038"></A>Ctrl+*</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9039"></A>Toggle preview mode</td>
<td  rowspan="1"  ><A NAME="TI9040"></A>Ctrl+F2</td>
<td>&nbsp;</td>
</tr>
</table>
<A NAME="TI9041"></A><h4>Navigating and selecting text</h4>
<A NAME="TI9042"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 30-3: Keyboard shortcuts for navigating and selecting text</caption>
<tr><th  rowspan="1"  ><A NAME="TI9043"></A>Move or select</th>
<th  rowspan="1"  ><A NAME="TI9044"></A>Navigating key</th>
<th  rowspan="1"  ><A NAME="TI9045"></A>Selection key</th>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9046"></A>A character to the right or left</td>
<td  rowspan="1"  ><A NAME="TI9047"></A>Right Arrow or <br>Left Arrow</td>
<td  rowspan="1"  ><A NAME="TI9048"></A>Shift+Right Arrow or Shift+Left
Arrow</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9049"></A>A word to the right or left</td>
<td  rowspan="1"  ><A NAME="TI9050"></A>Ctrl+Right Arrow or Ctrl+Left
Arrow</td>
<td  rowspan="1"  ><A NAME="TI9051"></A>Ctrl+Shift+Right Arrow
or Ctrl+Shift+Left Arrow</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9052"></A>A line up or down</td>
<td  rowspan="1"  ><A NAME="TI9053"></A>Up Arrow or <br>Down Arrow</td>
<td  rowspan="1"  ><A NAME="TI9054"></A>Shift+Up Arrow or Shift+Down
Arrow</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9055"></A>To start of line</td>
<td  rowspan="1"  ><A NAME="TI9056"></A>Home</td>
<td  rowspan="1"  ><A NAME="TI9057"></A>Shift+Home</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9058"></A>To end of line</td>
<td  rowspan="1"  ><A NAME="TI9059"></A>End</td>
<td  rowspan="1"  ><A NAME="TI9060"></A>Shift+End</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9061"></A>To start of document</td>
<td  rowspan="1"  ><A NAME="TI9062"></A>Ctrl+Home</td>
<td  rowspan="1"  ><A NAME="TI9063"></A>Ctrl+Shift+Home</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9064"></A>To end of document</td>
<td  rowspan="1"  ><A NAME="TI9065"></A>Ctrl+End</td>
<td  rowspan="1"  ><A NAME="TI9066"></A>Ctrl+Shift+End</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9067"></A>To next input field</td>
<td  rowspan="1"  ><A NAME="TI9068"></A>Ctrl+Tab</td>
<td  rowspan="1"  ><A NAME="TI9069"></A></td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI9070"></A>To previous input field</td>
<td  rowspan="1"  ><A NAME="TI9071"></A>Shift+Ctrl+Tab</td>
<td  rowspan="1"  ><A NAME="TI9072"></A></td>
</tr>
</table>

